package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/11/27.
 */

public class NoticeBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * page : {"totalCount":1,"pageSize":10,"totalPage":1,"currPage":1,"list":[{"id":1,"userId":1,"title":"内容通过审核","content":"你发表的\u201cCCC\u201d通过了审核","image":null,"contentId":1,"status":0,"operation":1,"createTime":"2019-11-18 17:04:17"}]}
     */

    private String msg;
    private int code;
    private PageBean page;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public static class PageBean implements Serializable{
        /**
         * totalCount : 1
         * pageSize : 10
         * totalPage : 1
         * currPage : 1
         * list : [{"id":1,"userId":1,"title":"内容通过审核","content":"你发表的\u201cCCC\u201d通过了审核","image":null,"contentId":1,"status":0,"operation":1,"createTime":"2019-11-18 17:04:17"}]
         */

        private int totalCount;
        private int pageSize;
        private int totalPage;
        private int currPage;
        private List<ListBean> list;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable{
            /**
             * id : 1
             * userId : 1
             * title : 内容通过审核
             * content : 你发表的“CCC”通过了审核
             * image : null
             * contentId : 1
             * status : 0
             * operation : 1
             * createTime : 2019-11-18 17:04:17
             */

            private int id;
            private int userId;
            private String title;
            private String content;
            private String image;
            private int contentId;
            private int status;
            private int operation;
            private String createTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public int getContentId() {
                return contentId;
            }

            public void setContentId(int contentId) {
                this.contentId = contentId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getOperation() {
                return operation;
            }

            public void setOperation(int operation) {
                this.operation = operation;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }
    }
}
